* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: "微软雅黑", sans-serif;
    font-size: 13px;
    box-sizing: border-box;
}

/*头部*/

div#header {
    width: 10rem;
    height: 50px;
    background-color:purple;
    padding: 5px;

    .logo {
        margin-left: 5px;
        padding: 12px;
        width: 75%;
        float: left;

        a {
            display: block;
            height: 100%;
            background-color: transparent;

            img {
                height: 25px;
                vertical-align: middle;
            }
        }
    }

    .rgt {
        float: left;
        padding: 6px;

        img{
            height: 34px;
            vertical-align: middle;
        }
    }
}

/*搜索框*/
section#search {
    background-color: #fff;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #ccc;
}

#search {
    .searchbox {
        padding: 10px;

        input {
            height: 30px;
            width: 90%;
            border-radius: 15px;
            background-color: #f1f1f1;
            border: none;
            font-size: 16px;
            text-indent: 12px;
        }
    }

    .button {
        button {
            width: 1.68rem;
            height: 30px;
            background-color: #7da8d8;
            border-radius: 15px;
            border: none;
            position: absolute;
            top: 10px;
            right: 10px;
        }
    }
}

/*菜单*/
#nav {
    display: block;
    overflow: hidden;

    .container {
        padding-right: .4rem;
        padding-left: .4rem;
        margin-right: auto;
        margin-left: auto;

        .row {
            margin-right: -15px;
            margin-left: -15px;

            div {
                text-align: center;
                padding-top: 10px;
                padding-bottom: 10px;
                width: 25%;
                float: left;

                a {
                    img {
                        height: 50px;
                        vertical-align: middle;
                    }
                }
            }
        }
    }
}

/*超值折扣推荐*/
section {
    display: block;
}

#discount {
    background-color: purple;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;

    span {
        text-align: left;
        font-size: 20px;
        color: #fff;
        font-weight: bolder;
    }

    img {
        height: 20px;
        margin-top: 7px;
        margin-right: 10px;
        float: right;
    }
}

/*商品*/
#product {
    display: block;

    .info {
        list-style: none;
        overflow: hidden;
    }

    li {
        padding: .27rem;
        // height: 3.47rem;
        cursor: pointer;

        a {
            display: block;

            .f1 {
                float: left;
            }

            .img {
                img {
                    width: 100px;
                    height: 100px;
                    padding-right: 10px;
                    vertical-align: middle;
                }
            }

            .infoR {
                padding-left: 2.4rem;

                .title {
                    h4 {
                        color: #333;
                        word-break: break-all;
                        font-size: 15px;
                        line-height: 19px;
                        min-height: 57px;
                        text-align: left;
                        font-weight: normal;
                        margin-top: 10px;
                        margin-bottom: 10px;

                        span {
                            color: #ff6c00;
                        }
                    }
                }

                em {
                    font-style: normal;
                    float: right;
                }
            }
        }
    }
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 12px;
    font-style: normal;
}

//底部
#foot {
    .more {
        a {
            display: block;
            font-size: 13px;
            line-height: 30px;
            text-align: center;
            border-radius: 5px;
            border: 1px solid #ddd;
            background-image: linear-gradient(#ffffff, #f4f4f4);
            color: #666;
            text-decoration: none;
        }
    }

    .ranking {
        background-color: purple;
        margin-top: 10px;
        margin-bottom: 6px;

        .ranking-left {
            color: #fff;
            display: inline-block;
            font: bolder 18px/35px "Microsoft soft";
            padding-left: 10px;
        }

        .ranking-right {
            line-height: 35px;
            float: right;
            padding-right: 10px;

            img {
                width: 20px;
                height: 20px;
                vertical-align: middle;
            }
        }
    }

    .login {
        width: 100%;

        .container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            box-sizing: border-box;

            .low {
                height: 36px;
                margin-top: 10px;
                border-top: 1px solid #c4c4c4;
                border-bottom: 1px solid #c4c4c4;
                margin-right: -15px;
                margin-left: -15px;
                box-sizing: border-box;

                a {
                    display: block;
                    color: #666;
                    text-decoration: none;

                    div {
                        height: 33px;
                        line-height: 33px;
                        text-align: center;
                        font-size: 12px;
                        border-right: 1px solid #c4c4c4;
                        float: left;
                        /* position: relative; */
                        min-height: 1px;
                        padding-right: 15px;
                        padding-left: 15px;
                    }

                    .a1 {
                        width: 15%;
                    }

                    .a2 {
                        width: 25%;
                    }

                    .a3 {
                        width: 30%;
                        border-right: 0;
                    }
                }
            }
        }
    }

    .content_b {
        text-align: center;
        padding: 10px;

        p {
            margin: 0 0 10px;

            a {
                color: #666;
                text-decoration: none;
            }
        }
    }
}